package com.eascs.o2o.loan.service;

import com.eascs.o2o.loan.entity.LoanWeChatEntity;

public interface LoanService {

	/**
	 * 保存借贷人和微信公众号关系
	 * */
	public int saveLoanWeChat(LoanWeChatEntity loanWeChat);
	
	/**
	 * 修改借贷人和微信公众号关系
	 * */
	public int updateLoanWeChat(LoanWeChatEntity loanWeChat);
	
	public LoanWeChatEntity queryLoanWeChatById(String id);
	
	public LoanWeChatEntity queryLoanWeChatByOpenId(String openId);
}
